PATH![]() |
![]() ![]() |
Creates a window from collection data.
pascal OSStatus CreateWindowFromCollection (
Collection collection,
WindowPtr *outWindow);
The CreateWindowFromCollection function creates a window invisibly and places it at the front of the window list. After calling CreateWindowFromCollection , you should set any desired associated data--using Window Manager or Control Manager accessor functions--then call the function TransitionWindow to display the window. The number of references to the collection (that is, its owner count) is incremented by a minimum of one for the duration of this call.
The chapter "Collection Manager" in Inside Macintosh: QuickDraw GX Environment and Utilities .